package com.example.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

//每类员工基本工资
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("position_salary")
public class PositionSalary {
    //id
    @TableId(value = "position_id",type = IdType.AUTO)
    private Integer position_id;
    //职务
    private String position;
    //工资
    @TableField
    private double baseSalary;
}
